package lab04.test02;

public class ThreadTwo implements Runnable {
    @Override
    public void run() {
        while (true){
            System.out.println("12345678900");
            //每隔两秒向控制台输出“12345678900”
            try {
                Thread.sleep(2000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }
}
